<input
	name="<?php echo $name ?>"
	value="<?php echo !empty($value)?date('Y-m-d', $value):''; ?>"
	type="text"
	placeholder="<?php echo $params['label']?>"
	data-errors='<?php echo json_encode($errors)?>'
	>